#! -*- coding:UTF-8 -*-
import math

a = 6.1
b = 6.2

print math.ceil(a - b)  # -0.1
print math.ceil(b - a)  # 0.1
# 测试浮点数比较
print a == b

print abs(a - b)
print 1e-10
m = 1.0
n = 1.0
k = float(0)
print id(m), id(n), id(k)

j = 1
k = 1
print id(j), id(k)

